package com.entity;

import java.io.Serializable;

/**
 * checker
 * @author 
 */
public class Checker implements Serializable {
    private Integer checkerid;

    private Integer serviceid;

    private Integer reviewerid;

    private String revieweropinion;

    private String finalreviewerid;

    private String finalrevieweropinion;

    private static final long serialVersionUID = 1L;

    public Integer getCheckerid() {
        return checkerid;
    }

    public void setCheckerid(Integer checkerid) {
        this.checkerid = checkerid;
    }

    public Integer getServiceid() {
        return serviceid;
    }

    public void setServiceid(Integer serviceid) {
        this.serviceid = serviceid;
    }

    public Integer getReviewerid() {
        return reviewerid;
    }

    public void setReviewerid(Integer reviewerid) {
        this.reviewerid = reviewerid;
    }

    public String getRevieweropinion() {
        return revieweropinion;
    }

    public void setRevieweropinion(String revieweropinion) {
        this.revieweropinion = revieweropinion;
    }

    public String getFinalreviewerid() {
        return finalreviewerid;
    }

    public void setFinalreviewerid(String finalreviewerid) {
        this.finalreviewerid = finalreviewerid;
    }

    public String getFinalrevieweropinion() {
        return finalrevieweropinion;
    }

    public void setFinalrevieweropinion(String finalrevieweropinion) {
        this.finalrevieweropinion = finalrevieweropinion;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Checker other = (Checker) that;
        return (this.getCheckerid() == null ? other.getCheckerid() == null : this.getCheckerid().equals(other.getCheckerid()))
            && (this.getServiceid() == null ? other.getServiceid() == null : this.getServiceid().equals(other.getServiceid()))
            && (this.getReviewerid() == null ? other.getReviewerid() == null : this.getReviewerid().equals(other.getReviewerid()))
            && (this.getRevieweropinion() == null ? other.getRevieweropinion() == null : this.getRevieweropinion().equals(other.getRevieweropinion()))
            && (this.getFinalreviewerid() == null ? other.getFinalreviewerid() == null : this.getFinalreviewerid().equals(other.getFinalreviewerid()))
            && (this.getFinalrevieweropinion() == null ? other.getFinalrevieweropinion() == null : this.getFinalrevieweropinion().equals(other.getFinalrevieweropinion()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getCheckerid() == null) ? 0 : getCheckerid().hashCode());
        result = prime * result + ((getServiceid() == null) ? 0 : getServiceid().hashCode());
        result = prime * result + ((getReviewerid() == null) ? 0 : getReviewerid().hashCode());
        result = prime * result + ((getRevieweropinion() == null) ? 0 : getRevieweropinion().hashCode());
        result = prime * result + ((getFinalreviewerid() == null) ? 0 : getFinalreviewerid().hashCode());
        result = prime * result + ((getFinalrevieweropinion() == null) ? 0 : getFinalrevieweropinion().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", checkerid=").append(checkerid);
        sb.append(", serviceid=").append(serviceid);
        sb.append(", reviewerid=").append(reviewerid);
        sb.append(", revieweropinion=").append(revieweropinion);
        sb.append(", finalreviewerid=").append(finalreviewerid);
        sb.append(", finalrevieweropinion=").append(finalrevieweropinion);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}